package com.rzjm.exercise.module.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.service.impl.BaseServiceImpl;
import com.rzjm.exercise.module.dao.DeviceDao;
import com.rzjm.exercise.module.domain.Device;
import com.rzjm.exercise.module.service.DeviceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class DeviceServiceImpl extends BaseServiceImpl<DeviceDao, Device> implements DeviceService {

    @Resource
    private DeviceDao deviceDao;

    @Override
    public List<Device> getPageByUserId(Page<Device> page, Map<String, Object> map) {
        return deviceDao.getPageByUserId(page, map);
    }
}
